import 'package:bruno/bruno.dart';
import 'package:flutter/material.dart';

class TopView extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        BrnIconButton(
          name: '写笔记',
          iconHeight: 30,
          iconWidth: 30,
          widgetHeight: 60,
          widgetWidth: 60,
          padding: 2,
          direction: Direction.bottom,
          iconWidget: Icon(
            Icons.camera,
            size: 30,
            color: Colors.white,
          ),
        ),
        BrnIconButton(
          name: '新消息',
          iconHeight: 30,
          iconWidth: 30,
          widgetHeight: 60,
          widgetWidth: 60,
          padding: 2,
          direction: Direction.bottom,
          iconWidget: Icon(
            Icons.message,
            size: 30,
            color: Colors.white,
          ),
        ),
        BrnIconButton(
          name: '笔记广场',
          iconHeight: 30,
          iconWidth: 30,
          widgetHeight: 60,
          widgetWidth: 60,
          padding: 2,
          direction: Direction.bottom,
          iconWidget: Icon(
            Icons.book,
            size: 30,
            color: Colors.white,
          ),
        ),
        BrnIconButton(
          name: '排行榜',
          iconHeight: 30,
          iconWidth: 30,
          widgetHeight: 60,
          widgetWidth: 60,
          padding: 2,
          direction: Direction.bottom,
          iconWidget: Icon(
            Icons.radar,
            size: 30,
            color: Colors.white,
          ),
        ),
      ],
    );
  }
}
